﻿<Window x:Class="Knowledgecast.Twitter.WPF.App.NewSearch"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="NewSearch" WindowStyle="None" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" SizeToContent="WidthAndHeight" Loaded="Window_Loaded">
    <Border BorderBrush="Gray" BorderThickness="2">
        <Grid Margin="5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <TextBlock Grid.Row="0" Grid.Column="0" Text="What are you searching for?" />
            <TextBox x:Name="txtQuery" Grid.Row="0" Grid.Column="1" Width="200" TabIndex="0" KeyUp="txtQuery_KeyUp" />
            <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="2">
                <Button x:Name="btnSearch" Content="Search" Click="btnSearch_Click" TabIndex="1" />
                <Button x:Name="btnClose" Content="Close" Click="btnClose_Click" TabIndex="2" />
            </StackPanel>
            <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Text="(advanced searches can include AND or OR and phrases in quotes)" HorizontalAlignment="Center" />
        </Grid>
    </Border>
</Window>
